package org.sensation.server.operation.request;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class OperationContext implements Serializable{
	private static final long serialVersionUID = 5435021657109565774L;
	private Map<String, String> context;
	
	public OperationContext() {
		super();
		this.context = new HashMap<String, String>();
	}
	public void put(String key, String value){
		if(!context.containsKey(key))
			this.context.put(key, value);
	}
	public String get(String key){
		if(context.containsKey(key))
			return this.context.get(key);
		return null;
	}
}
